﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class Controls_friendlink : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BoundData();
        }
    }

    protected void BoundData()
    {
        DataSet ds = new DataSet();
        ds = new Cstudy.BLL.link().SelectLink();
        if (ds != null)
        {
            Repeater1.DataSource = ds;
            Repeater1.DataBind();
        }
    }
}